home *** CD-ROM | disk | FTP | other *** search
- on allPuppetsOff
- repeat with i = 1 to 48
- puppetSprite(i, 0)
- end repeat
- end
-
- on stripLocDataCast confirmation
- if confirmation <> #really then
- alert("Hey, you're about to strip out ALL location-data fields for this domain. If you're SURE, type 'stripLocDataCast #really'")
- exit
- end if
- set numCast to the number of castMembers
- set reservedList to ["foreground.DATA", "inventory.DATA", "DEFAULT_LOCATION.DATA"]
- set emptyCast to findEmpty(cast 1)
- put "empty cast = " & emptyCast
- repeat with i = 1 to numCast
- set cName to the name of cast i
- if cName contains ".DATA" then
- if getPos(reservedList, cName) = 0 then
- duplicate(cast emptyCast, cast i)
- else
- put "Sparing cast " & i & " (" & cName & ")"
- end if
- next repeat
- end if
- if the castType of cast i = #text then
- if the text of cast i = ("saveString" & RETURN & "KILL ME") then
- put "."
- duplicate(cast emptyCast, cast i)
- end if
- end if
- end repeat
- put "<i> done!"
- beep()
- end
-